
Version:=0.95a
ModuleName:=zebra

Objcet:=$(ModuleName).tgz
ObjectDir:=$(ModuleName)-$(Version)
ObjcetSource:=$(ModuleName)-$(Version).tar.gz

DependFiles:=
InstaEtcDir:=usr/local/etc
InstaLibDir:=usr/lib
InstaSbinDir:=usr/local/sbin

InstallDirTmp=$(shell pwd)/usr
InstallDir:=$(InstallDirTmp)

Config:=./configure --prefix=$(InstallDir) 

.PHONY: all clean dist_clean

null:

all:$(Objcet) 
	
$(Objcet):$(ObjcetSource) 
	tar -xzf $(ObjcetSource)
	cd $(ObjectDir) && $(Config)
	$(MAKE) -C $(ObjectDir)
	$(MAKE) -C $(ObjectDir) install 
	tar -czf $(Objcet) usr

clean:
	rm -rf $(Objcet) usr var etc

dist_clean:clean
	rm -rf $(ObjectDir) $(ObjcetSource) 
	
include ../Makefile.Res
